package com.farmpost.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.farmpost.server.pojo.RespBean;
import com.farmpost.server.pojo.UserMaterials;

/**
 * <p>
 * 用户相关资料表 服务类
 * </p>
 *
 * @author king
 * @since 2022-04-03
 */
public interface IUserMaterialsService extends IService<UserMaterials> {

    /**
     * 获取用户资料
     * @return
     */
    UserMaterials getUSerMaterials();

    /**
     * 修改用户资料
     * @param isStuCertification
     * @param selfIntroduction
     * @param greatCount
     * @param myFanCount
     * @param myFocusCount
     * @return
     */
    RespBean updateUserMaterials(Integer isStuCertification, String selfIntroduction, Integer greatCount, Integer myFanCount, Integer myFocusCount);

    /**
     * 插入用户资料
     * @param userMaterials
     * @return
     */
    RespBean insertUserMaterials(UserMaterials userMaterials);

    /**
     * 删除用户资料
     * @param userId
     * @return
     */
    RespBean deleteUserMaterials(Integer userId);
}
